package ren.xxpure.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CommonResult<T> implements Serializable {
	private int code;
	private String message;
	private T data;

	public CommonResult(int code, String message) {
		this.code = code;
		this.message = message;
	}
}
